<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>linux安装jdk | 清峰小栈</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  
  <meta name="keywords" content="jdk" />
  
  
  
  
  <meta name="description" content="Linux环境JDK安装1，切换权限为root1su root   2，查看版本1java -version  3，查看CentOS中自带的JDK1rpm -qa | grep java   4，删除红色划线部分1234rpm -e --nodeps java-1.7.0-openjdk-1.7.0.191-2.6.15.5.el7.x86_64rpm -e --nodeps java-1.7.0">
<meta property="og:type" content="article">
<meta property="og:title" content="Linux安装JDK">
<meta property="og:url" content="http://example.com/2023/02/08/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85JDK/index.html">
<meta property="og:site_name" content="清峰小栈">
<meta property="og:description" content="Linux环境JDK安装1，切换权限为root1su root   2，查看版本1java -version  3，查看CentOS中自带的JDK1rpm -qa | grep java   4，删除红色划线部分1234rpm -e --nodeps java-1.7.0-openjdk-1.7.0.191-2.6.15.5.el7.x86_64rpm -e --nodeps java-1.7.0">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220313.png">
<meta property="og:image" content="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220327.png">
<meta property="article:published_time" content="2023-02-08T07:42:12.147Z">
<meta property="article:modified_time" content="2023-05-04T01:59:45.753Z">
<meta property="article:author" content="清峰">
<meta property="article:tag" content="jdk">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220313.png">
  

  

  <link rel="icon" href="/qingfeng-blog/css/images/mylogo-2.png">
  <link rel="apple-touch-icon" href="/qingfeng-blog/css/images/mylogo-2.png">
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link href="https://fonts.googleapis.com/css?family=Open+Sans|Montserrat:700" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic" rel="stylesheet" type="text/css">
  <!-- <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> -->
  <link href="/qingfeng-blog/css/font-awesome.css" rel="stylesheet">
  <style type="text/css">
    @font-face{font-family:futura-pt; src:url("/qingfeng-blog/css/fonts/FuturaPTBold.otf") format("woff");font-weight:500;font-style:normal;}
    @font-face{font-family:futura-pt-light; src:url("/qingfeng-blog/css/fonts/FuturaPTBook.otf") format("woff");font-weight:lighter;font-style:normal;}
    @font-face{font-family:futura-pt-italic; src:url("/qingfeng-blog/css/fonts/FuturaPTBookOblique.otf") format("woff");font-weight:400;font-style:italic;}
}

  </style>
  
<link rel="stylesheet" href="/qingfeng-blog/css/style.css">


  
<script src="/qingfeng-blog/js/jquery-3.1.1.min.js"></script>

  
<script src="/qingfeng-blog/js/bootstrap.js"></script>


  <!-- Bootstrap core CSS -->
  <link rel="stylesheet" href="/qingfeng-blog/css/bootstrap.css" >

  
    
<link rel="stylesheet" href="/qingfeng-blog/css/dialog.css">

  

  

  
    <link rel="stylesheet" href="/qingfeng-blog/css/header-post.css" >
  

  
  
  
    <link rel="stylesheet" href="/qingfeng-blog/css/vdonate.css" >
  

<meta name="generator" content="Hexo 6.3.0"></head>



  <body data-spy="scroll" data-target="#toc" data-offset="50">


  
  <div id="container">
    <div id="wrap">
      
        <header>

    <div id="allheader" class="navbar navbar-default navbar-static-top" role="navigation">
        <div class="navbar-inner">
          
          <div class="container"> 
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>

            
              <a class="brand" style="
                 border-width: 0px;  margin-top: 0px;"  
                href="#" data-toggle="modal" data-target="#myModal" >
                  <img width="155px" height="90px" alt="Hike News" src="/qingfeng-blog/css/images/mylogo-2.png">
              </a>
            
            
            <div class="navbar-collapse collapse">
              <ul class="hnav navbar-nav">
                
                  <li> <a class="main-nav-link" href="/qingfeng-blog/">首页</a> </li>
                
                  <li> <a class="main-nav-link" href="/qingfeng-blog/categories">分类</a> </li>
                
                  <li> <a class="main-nav-link" href="/qingfeng-blog/tags">标签</a> </li>
                
                  <li><div id="search-form-wrap">

    <form class="search-form">
        <input type="text" class="ins-search-input search-form-input" placeholder="" />
        <button type="submit" class="search-form-submit"></button>
    </form>
    <div class="ins-search">
    <div class="ins-search-mask"></div>
    <div class="ins-search-container">
        <div class="ins-input-wrapper">
            <input type="text" class="ins-search-input" placeholder="Type something..." />
            <span class="ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
        </div>
        <div class="ins-section-wrapper">
            <div class="ins-section-container"></div>
        </div>
    </div>
</div>
<script>
(function (window) {
    var INSIGHT_CONFIG = {
        TRANSLATION: {
            POSTS: 'Posts',
            PAGES: 'Pages',
            CATEGORIES: 'Categories',
            TAGS: 'Tags',
            UNTITLED: '(Untitled)',
        },
        ROOT_URL: '/qingfeng-blog/',
        CONTENT_URL: '/qingfeng-blog/content.json',
    };
    window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>

<script src="/qingfeng-blog/js/insight.js"></script>


</div></li>
            </div>
          </div>
                
      </div>
    </div>

</header>



      
            
      <div id="content" class="outer">
        
          <section id="main" style="float:none;"><article id="post-运维安装/Linux安装JDK" style="width: 75%; float:left;" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" class="article-title" itemprop="name">
      Linux安装JDK
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2023/02/08/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85JDK/" class="article-date">
	  <time datetime="2023-02-08T07:42:12.147Z" itemprop="datePublished">2023-02-08</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Linux/">Linux</a>

      
	<a class="article-views">
	<span id="busuanzi_container_page_pv">
		PV:<span id="busuanzi_value_page_pv"></span>
	</span>
	</a>

      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <h1 id="Linux环境JDK安装"><a href="#Linux环境JDK安装" class="headerlink" title="Linux环境JDK安装"></a>Linux环境JDK安装</h1><h2 id="1，切换权限为root"><a href="#1，切换权限为root" class="headerlink" title="1，切换权限为root"></a>1，切换权限为root</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">su root</span><br></pre></td></tr></table></figure>


<h2 id="2，查看版本"><a href="#2，查看版本" class="headerlink" title="2，查看版本"></a>2，查看版本</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">java -version</span><br></pre></td></tr></table></figure>
<p><a target="_blank" rel="noopener" href="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220313.png" title="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220313.png"><img src="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220313.png" alt="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220313.png" title="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220313.png"></a></p>
<h2 id="3，查看CentOS中自带的JDK"><a href="#3，查看CentOS中自带的JDK" class="headerlink" title="3，查看CentOS中自带的JDK"></a>3，查看CentOS中自带的JDK</h2><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">rpm -qa | grep java</span><br></pre></td></tr></table></figure>

<p><a target="_blank" rel="noopener" href="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220327.png" title="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220327.png"><img src="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220327.png" alt="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220327.png" title="http://img.lindaifeng.vip/typora-picgo-tuchaung/20221113220327.png"></a></p>
<h2 id="4，删除红色划线部分"><a href="#4，删除红色划线部分" class="headerlink" title="4，删除红色划线部分"></a>4，删除红色划线部分</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">rpm -e --nodeps java-<span class="number">1.7</span><span class="number">.0</span>-openjdk-<span class="number">1.7</span><span class="number">.0</span><span class="number">.191</span>-<span class="number">2.6</span><span class="number">.15</span><span class="number">.5</span>.el7.x86_64</span><br><span class="line">rpm -e --nodeps java-<span class="number">1.7</span><span class="number">.0</span>-openjdk-headless-<span class="number">1.7</span><span class="number">.0</span><span class="number">.191</span>-<span class="number">2.6</span><span class="number">.15</span><span class="number">.5</span>.el7.x86_64</span><br><span class="line">rpm -e --nodeps java-<span class="number">1.8</span><span class="number">.0</span>-openjdk-headless-<span class="number">1.8</span><span class="number">.0</span><span class="number">.181</span>-<span class="number">7.</span>b13.el7.x86_64</span><br><span class="line">rpm -e --nodeps java-<span class="number">1.8</span><span class="number">.0</span>-openjdk-<span class="number">1.8</span><span class="number">.0</span><span class="number">.181</span>-<span class="number">7.</span>b13.el7.x86_64</span><br></pre></td></tr></table></figure>

<h2 id="5，检查是否删除成功"><a href="#5，检查是否删除成功" class="headerlink" title="5，检查是否删除成功"></a>5，检查是否删除成功</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">java -version 再次查看Java版本，没有任何信息就表示删除成功了</span><br></pre></td></tr></table></figure>

<h2 id="6，下载JDK"><a href="#6，下载JDK" class="headerlink" title="6，下载JDK"></a>6，下载JDK</h2><h2 id="7，把JDK上传至CentOS中。"><a href="#7，把JDK上传至CentOS中。" class="headerlink" title="7，把JDK上传至CentOS中。"></a>7，把JDK上传至CentOS中。</h2><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">alt + p</span><br><span class="line">输出上传路径</span><br></pre></td></tr></table></figure>

<h2 id="8，在根的usr文件夹里面新建一个java文件夹"><a href="#8，在根的usr文件夹里面新建一个java文件夹" class="headerlink" title="8，在根的usr文件夹里面新建一个java文件夹"></a>8，在根的usr文件夹里面新建一个java文件夹</h2><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">mkdir /usr/java</span><br></pre></td></tr></table></figure>

<h2 id="9，把压缩包拷贝到-x2F-usr-x2F-java文件夹当中"><a href="#9，把压缩包拷贝到-x2F-usr-x2F-java文件夹当中" class="headerlink" title="9，把压缩包拷贝到&#x2F;usr&#x2F;java文件夹当中"></a>9，把压缩包拷贝到&#x2F;usr&#x2F;java文件夹当中</h2><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">cp jdk-8u261-linux-x64.tar.gz 	/usr/java</span><br></pre></td></tr></table></figure>

<h2 id="10，进入到-x2F-usr-x2F-java-去解压。"><a href="#10，进入到-x2F-usr-x2F-java-去解压。" class="headerlink" title="10，进入到&#x2F;usr&#x2F;java 去解压。"></a>10，进入到&#x2F;usr&#x2F;java 去解压。</h2><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">cd /usr/java</span><br></pre></td></tr></table></figure>

<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">解压：tar -zxvf 压缩包</span><br></pre></td></tr></table></figure>

<h2 id="11，配置环境变量"><a href="#11，配置环境变量" class="headerlink" title="11，配置环境变量"></a>11，配置环境变量</h2><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">vim /etc/profile</span><br><span class="line">#到行首</span><br><span class="line">gg</span><br><span class="line">#到行尾</span><br><span class="line">shift+g</span><br></pre></td></tr></table></figure>

<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">#java environment</span><br><span class="line">export JAVA_HOME=/usr/java/jdk1.8.0_261</span><br><span class="line">export CLASSPATH=.:$&#123;JAVA_HOME&#125;/jre/lib/rt.jar:$&#123;JAVA_HOME&#125;/lib/dt.jar:$&#123;JAVA_HOME&#125;/lib/tools.jar</span><br><span class="line">export PATH=$PATH:$&#123;JAVA_HOME&#125;/bin</span><br></pre></td></tr></table></figure>

<h2 id="12，让当前环境变量生效"><a href="#12，让当前环境变量生效" class="headerlink" title="12，让当前环境变量生效"></a>12，让当前环境变量生效</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">source /etc/profile</span><br></pre></td></tr></table></figure>
      
    </div>
    <footer class="article-footer">
      
        <div id="donation_div"></div>


<script src="/qingfeng-blog/js/vdonate.js"></script>

<script>
var a = new Donate({
  title: '如果觉得我的文章对您有用，请随意打赏。您的支持将鼓励我继续创作!', // 可选参数，打赏标题
  btnText: 'Donate', // 可选参数，打赏按钮文字
  el: document.getElementById('donation_div'),
  wechatImage: 'http://img.lindaifeng.vip/typora-picgo-tuchaung/20230428150832.png',
  alipayImage: 'http://img.lindaifeng.vip/typora-picgo-tuchaung/20230428150823.png'
});
</script>
      
      
      <div>
        <ul class="post-copyright">
          <li class="post-copyright-author">
          <strong>Post author:  </strong>清峰</a>
          </li>
          <li class="post-copyright-link">
          <strong>Post link:  </strong>
          <a href="/qingfeng-blog/2023/02/08/运维安装/Linux安装JDK/" target="_blank" title="Linux安装JDK">http://example.com/2023/02/08/运维安装/Linux安装JDK/</a>
          </li>
          <li class="post-copyright-license">
            <strong>Copyright Notice:   </strong>
            All articles in this blog are licensed under <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank" title="Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)">CC BY-NC-ND 4.0</a>
            unless stating additionally.
          </li>
         
        </ul>
<div>

      
      
        
	<div id="comment">
		<!-- 来必力City版安装代码 -->
		<div id="lv-container" data-id="city" data-uid="MTAyMC8yOTQ4MS82MDQ5">
		<script type="text/javascript">
		   (function(d, s) {
		       var j, e = d.getElementsByTagName(s)[0];

		       if (typeof LivereTower === 'function') { return; }

		       j = d.createElement(s);
		       j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
		       j.async = true;

		       e.parentNode.insertBefore(j, e);
		   })(document, 'script');
		</script>
		<noscript>为正常使用来必力评论功能请激活JavaScript</noscript>
		</div>
		<!-- City版安装代码已完成 -->
	</div>



      
      
        
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/qingfeng-blog/tags/jdk/" rel="tag">jdk</a></li></ul>

      

    </footer>
  </div>
</div>
  
    
<nav id="article-nav">
  
    <a href="/qingfeng-blog/2023/02/08/Linux/CentOS%20%E5%8D%87%E7%BA%A7%E5%86%85%E6%A0%B8/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Newer</strong>
      <div class="article-nav-title">
        
          CentOS 升级内核
        
      </div>
    </a>
  
  
    <a href="/qingfeng-blog/2023/02/08/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85redis/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Older</strong>
      <div class="article-nav-title">Linux安装redis</div>
    </a>
  
</nav>

  
</article>

<!-- Table of Contents -->

  <aside id="toc-sidebar">
    <div id="toc" class="toc-article">
    <strong class="toc-title">Contents</strong>
    
        <ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#Linux%E7%8E%AF%E5%A2%83JDK%E5%AE%89%E8%A3%85"><span class="nav-number">1.</span> <span class="nav-text">Linux环境JDK安装</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#1%EF%BC%8C%E5%88%87%E6%8D%A2%E6%9D%83%E9%99%90%E4%B8%BAroot"><span class="nav-number">1.1.</span> <span class="nav-text">1，切换权限为root</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2%EF%BC%8C%E6%9F%A5%E7%9C%8B%E7%89%88%E6%9C%AC"><span class="nav-number">1.2.</span> <span class="nav-text">2，查看版本</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#3%EF%BC%8C%E6%9F%A5%E7%9C%8BCentOS%E4%B8%AD%E8%87%AA%E5%B8%A6%E7%9A%84JDK"><span class="nav-number">1.3.</span> <span class="nav-text">3，查看CentOS中自带的JDK</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#4%EF%BC%8C%E5%88%A0%E9%99%A4%E7%BA%A2%E8%89%B2%E5%88%92%E7%BA%BF%E9%83%A8%E5%88%86"><span class="nav-number">1.4.</span> <span class="nav-text">4，删除红色划线部分</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#5%EF%BC%8C%E6%A3%80%E6%9F%A5%E6%98%AF%E5%90%A6%E5%88%A0%E9%99%A4%E6%88%90%E5%8A%9F"><span class="nav-number">1.5.</span> <span class="nav-text">5，检查是否删除成功</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#6%EF%BC%8C%E4%B8%8B%E8%BD%BDJDK"><span class="nav-number">1.6.</span> <span class="nav-text">6，下载JDK</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#7%EF%BC%8C%E6%8A%8AJDK%E4%B8%8A%E4%BC%A0%E8%87%B3CentOS%E4%B8%AD%E3%80%82"><span class="nav-number">1.7.</span> <span class="nav-text">7，把JDK上传至CentOS中。</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#8%EF%BC%8C%E5%9C%A8%E6%A0%B9%E7%9A%84usr%E6%96%87%E4%BB%B6%E5%A4%B9%E9%87%8C%E9%9D%A2%E6%96%B0%E5%BB%BA%E4%B8%80%E4%B8%AAjava%E6%96%87%E4%BB%B6%E5%A4%B9"><span class="nav-number">1.8.</span> <span class="nav-text">8，在根的usr文件夹里面新建一个java文件夹</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#9%EF%BC%8C%E6%8A%8A%E5%8E%8B%E7%BC%A9%E5%8C%85%E6%8B%B7%E8%B4%9D%E5%88%B0-x2F-usr-x2F-java%E6%96%87%E4%BB%B6%E5%A4%B9%E5%BD%93%E4%B8%AD"><span class="nav-number">1.9.</span> <span class="nav-text">9，把压缩包拷贝到&#x2F;usr&#x2F;java文件夹当中</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#10%EF%BC%8C%E8%BF%9B%E5%85%A5%E5%88%B0-x2F-usr-x2F-java-%E5%8E%BB%E8%A7%A3%E5%8E%8B%E3%80%82"><span class="nav-number">1.10.</span> <span class="nav-text">10，进入到&#x2F;usr&#x2F;java 去解压。</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#11%EF%BC%8C%E9%85%8D%E7%BD%AE%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F"><span class="nav-number">1.11.</span> <span class="nav-text">11，配置环境变量</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#12%EF%BC%8C%E8%AE%A9%E5%BD%93%E5%89%8D%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E7%94%9F%E6%95%88"><span class="nav-number">1.12.</span> <span class="nav-text">12，让当前环境变量生效</span></a></li></ol></li></ol>
    
    </div>
  </aside>


</section>
        
      </div>
      
      <footer id="footer">
  

  <div class="container">
      	<div class="row">
	      <!-- <p> Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> and <a href="https://github.com/iTimeTraveler/hexo-theme-hiker" target="_blank">Hexo-theme-hiker</a> </p> -->
	      <p>May there be no bug in the world！</p>
        <p id="copyRightEn">Copyright &copy; 2022 - 2023 All Rights Reserved.</p>
	      
	      
    		<p class="busuanzi_uv">
				UV : <span id="busuanzi_value_site_uv"></span> |  
				PV : <span id="busuanzi_value_site_pv"></span>
		    </p>
  		   
		</div>

		
  </div>
</footer>


<!-- min height -->

<script>
    var wrapdiv = document.getElementById("wrap");
    var contentdiv = document.getElementById("content");
    var allheader = document.getElementById("allheader");

    wrapdiv.style.minHeight = document.body.offsetHeight + "px";
    if (allheader != null) {
      contentdiv.style.minHeight = document.body.offsetHeight - allheader.offsetHeight - document.getElementById("footer").offsetHeight + "px";
    } else {
      contentdiv.style.minHeight = document.body.offsetHeight - document.getElementById("footer").offsetHeight + "px";
    }
</script>
    </div>
    <!-- <nav id="mobile-nav">
  
    <a href="/qingfeng-blog/" class="mobile-nav-link">首页</a>
  
    <a href="/qingfeng-blog/categories" class="mobile-nav-link">分类</a>
  
    <a href="/qingfeng-blog/tags" class="mobile-nav-link">标签</a>
  
</nav> -->
    

<!-- mathjax config similar to math.stackexchange -->

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    tex2jax: {
      inlineMath: [ ['$','$'], ["\\(","\\)"] ],
      processEscapes: true
    }
  });
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
      tex2jax: {
        skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
      }
    });
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for(i=0; i < all.length; i += 1) {
            all[i].SourceElement().parentNode.className += ' has-jax';
        }
    });
</script>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>


  
<link rel="stylesheet" href="/qingfeng-blog/fancybox/jquery.fancybox.css">

  
<script src="/qingfeng-blog/fancybox/jquery.fancybox.pack.js"></script>




<script src="/qingfeng-blog/js/scripts.js"></script>



  
<script src="/qingfeng-blog/js/home.js"></script>




  
<script src="/qingfeng-blog/js/dialog.js"></script>









	<div style="display: none;">
    <script src="https://s95.cnzz.com/z_stat.php?id=1260716016&web_id=1260716016" language="JavaScript"></script>
  </div>



	<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js">
	</script>






  </div>

  <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h2 class="modal-title" id="myModalLabel">设置</h2>
      </div>
      <hr style="margin-top:0px; margin-bottom:0px; width:80%; border-top: 3px solid #000;">
      <hr style="margin-top:2px; margin-bottom:0px; width:80%; border-top: 1px solid #000;">


      <div class="modal-body">
          <div style="margin:6px;">
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" onclick="javascript:setFontSize();" aria-expanded="true" aria-controls="collapseOne">
              正文字号大小
            </a>
          </div>
          <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
          <div class="panel-body">
            您已调整页面字体大小
          </div>
        </div>
      


          <div style="margin:6px;">
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" onclick="javascript:setBackground();" aria-expanded="true" aria-controls="collapseTwo">
              夜间护眼模式
            </a>
        </div>
          <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
          <div class="panel-body">
            夜间模式已经开启，再次单击按钮即可关闭 
          </div>
        </div>

        <div>
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="true" aria-controls="collapseThree">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关 于&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
        </div>
         <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
          <div class="panel-body">
            清峰小栈
          </div>
          <div class="panel-body">
            Copyright © 2023 清峰 All Rights Reserved.
          </div>
        </div>
      </div>


      <hr style="margin-top:0px; margin-bottom:0px; width:80%; border-top: 1px solid #000;">
      <hr style="margin-top:2px; margin-bottom:0px; width:80%; border-top: 3px solid #000;">
      <div class="modal-footer">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
      </div>
    </div>
  </div>
</div>
  
  <a id="rocket" href="#top" class=""></a>
  <script type="text/javascript" src="/qingfeng-blog/js/totop.js?v=1.0.0" async=""></script>
  
    <a id="menu-switch"><i class="fa fa-bars fa-lg"></i></a>
  
</body>
</html>